-
Home
-
AIP: Complete AI Toolkit for WordPress (formerly AI Power)
-
1.8.81
-
Code
-
Classes
- WPAICG_Google
| Total Complexity |
69 |
| Dependencies |
1 |
| Dependents |
5 |
| Total lines |
491 |
| Lines of code |
344 |
| Logical lines of code |
161 |
| Comment lines |
62 |
| Methods |
11 |
| Properties |
28 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| handle_response() |
B |
37 |
20 |
66 |
| send_google_request() |
A |
34 |
11 |
98 |
| listModels() |
A |
48 |
9 |
32 |
| chat() |
A |
50 |
9 |
25 |
| parse_markdown() |
S |
49 |
6 |
32 |
| embeddings() |
S |
43 |
4 |
51 |
| initialize_settings() |
S |
57 |
4 |
16 |
| initialize_google_safety_settings() |
S |
62 |
2 |
12 |
| get_instance() |
S |
72 |
2 |
6 |
| __construct() |
S |
82 |
1 |
3 |
| image() |
S |
78 |
1 |
3 |